import static org.junit.Assert.*;
import org.junit.Test;

public class TestCard {

	Card card = new Card("Diamond", 10);

	@Test
	public void tooHighValue() {
		assertEquals(false, card.setValue(20));
	}

	@Test
	public void tooLowValue() {
		assertEquals(false, card.setValue(1));
	}

	@Test
	public void wrongColor() {
		assertEquals(false, card.setColor("Czerwo"));
	}

}
